﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditProfile.ascx.cs"
    Inherits="Presentation.UserControl.EditProfile" %>
<table border="0" cellpadding="0" cellspacing="0" id="content-table" width="100%">
    <tr>
        <th rowspan="3" class="sized">
            <img src="/Content/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" />
        </th>
        <th class="topleft">
        </th>
        <td id="tbl-border-top">
        </td>
        <th class="topright">
        </th>
        <th rowspan="3" class="sized">
            <img src="/Content/images/shared/side_shadowright.jpg" width="20" height="300" alt="" />
        </th>
    </tr>
    <tr>
        <td id="tbl-border-left">
        </td>
        <td>
            <!--  start content-table-inner -->
            <div id="content-table-inner">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr valign="top">
                        <td>
                            <!-- start id-form -->
                            <table width="100%" cellspacing="0" cellpadding="0" border="0" id="id-form">
                                <tr>
                                    <td colspan="2">
                                        <div class="legend-text">
                                            Common information
                                        </div>
                                        <div class="hrStyle">
                                            <hr />
                                        </div>
                                    </td>
                                    <td colspan="2">
                                        <div class="legend-text">
                                            Special information
                                        </div>
                                        <div class="hrStyle">
                                            <hr />
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top" style="width: 10%">
                                        Username:
                                    </th>
                                    <td class="value" style="width: 40%">
                                        <asp:Label ID="UserNameLabel" runat="server" Text="Label"></asp:Label>
                                    </td>
                                    <th valign="top" style="width: 10%">
                                        <span type="Contractor">First name:</span> <span type="Client">First name:</span>
                                        <span type="Consultant">First name:</span>
                                    </th>
                                    <td class="value" style="width: 40%">
                                        <span type="Contractor">
                                            <asp:TextBox ID="ContractorFirstNameTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <span type="Client">
                                            <asp:TextBox ID="ClientFirstNameTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <span type="Consultant">
                                            <asp:TextBox ID="ConsultantFirstNameTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <asp:RequiredFieldValidator ID="ContractorFirstNameRequire" runat="server" ErrorMessage="Contractor firstname is required"
                                            ControlToValidate="ContractorFirstNameTextBox" Display="Dynamic" Visible="False"
                                            CssClass="validation-msg"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="ClientFirstNameRequire" runat="server" ErrorMessage="Client firstname is required"
                                            ControlToValidate="ClientFirstNameTextBox" Display="Dynamic" Visible="False"
                                            CssClass="validation-msg"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="ConsultantFirstNameRequire" runat="server" ErrorMessage="Consultant firstname is required"
                                            ControlToValidate="ConsultantFirstNameTextBox" Display="Dynamic" Visible="False"
                                            CssClass="validation-msg"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                        Role:
                                    </th>
                                    <td class="value">
                                        <asp:Label ID="RoleLabel" runat="server" Text="Label"></asp:Label>
                                    </td>
                                    <th valign="top">
                                        <span type="Contractor">Last name:</span> <span type="Client">Last name:</span>
                                        <span type="Consultant">Last name:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Contractor">
                                            <asp:TextBox ID="ContractorLastNameTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <span type="Client">
                                            <asp:TextBox ID="ClientLastNameTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <span type="Consultant">
                                            <asp:TextBox ID="ConsultantLastNameTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <asp:RequiredFieldValidator ID="ContractorLastNameRequire" runat="server" ErrorMessage="Contractor lastname is required"
                                            ControlToValidate="ContractorLastNameTextBox" Display="Dynamic" Visible="False"
                                            CssClass="validation-msg"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="ClientLastNameRequire" runat="server" ErrorMessage="Client lastname is required"
                                            ControlToValidate="ClientLastNameTextBox" Display="Dynamic" Visible="False" CssClass="validation-msg"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="ConsultantLastNameRequire" runat="server" ErrorMessage="Consultant lastname is required"
                                            ControlToValidate="ConsultantLastNameTextBox" Display="Dynamic" Visible="False"
                                            CssClass="validation-msg"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                        Email:
                                    </th>
                                    <td class="value">
                                        <asp:TextBox ID="EmailTextBox" title="<b>example@gmail.com</b>" CssClass="inp-form"
                                            runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="EmailRequire" runat="server" ErrorMessage="Email is required"
                                            Display="Dynamic" ControlToValidate="EmailTextBox" CssClass="validation-msg"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="EmailRegular" runat="server" ControlToValidate="EmailTextBox"
                                            Display="Dynamic" ErrorMessage="Email is invalid" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                            CssClass="validation-msg"></asp:RegularExpressionValidator>
                                    </td>
                                    <th valign="top">
                                        <span type="Contractor">Birthdate:</span> <span type="Client">Birthdate:</span>
                                        <span type="Consultant">Birthdate:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Contractor">
                                            <asp:TextBox ID="ContractorBirthDateTextBox" title="<b>DD/mm/yyyy</b>" CssClass="inp-datetime"
                                                runat="server" Text="Label"></asp:TextBox></span> <span type="Client">
                                                    <asp:TextBox ID="ClientBirthDateTextBox" title="<b>DD/mm/yyyy</b>" CssClass="inp-datetime"
                                                        runat="server" Text="Label"></asp:TextBox></span> <span type="Consultant">
                                                            <asp:TextBox ID="ConsultantBirthDateTextBox" title="<b>DD/mm/yyyy</b>" CssClass="inp-datetime"
                                                                runat="server" Text="Label"></asp:TextBox></span>
                                        <asp:RequiredFieldValidator ID="ContractorBirthDateRequire" runat="server" ErrorMessage="Contractor birthdate is required"
                                            ControlToValidate="ContractorBirthdateTextBox" Display="Dynamic" Visible="False"
                                            CssClass="validation-msg"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="ClientBirthDateRequire" runat="server" ErrorMessage="Client birthdate is required"
                                            ControlToValidate="ClientBirthdateTextBox" Display="Dynamic" Visible="False"
                                            CssClass="validation-msg"></asp:RequiredFieldValidator>
                                        <asp:RequiredFieldValidator ID="ConsultantBirthDateRequire" runat="server" ErrorMessage="Consultant birthdate is required"
                                            ControlToValidate="ConsultantBirthdateTextBox" Display="Dynamic" Visible="False"
                                            CssClass="validation-msg"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="ContractorBirthDateRegular" runat="server" ErrorMessage="Contractor birthdate is invalid"
                                            ControlToValidate="ContractorBirthdateTextBox" ValidationExpression="^(((0?[1-9]|1[012])/(0?[1-9]|1\d|2[0-8])|(0?[13456789]|1[012])/(29|30)|(0?[13578]|1[02])/31)/(19|[2-9]\d)\d{2}|0?2/29/((19|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00)))$"
                                            Display="Dynamic" Visible="False" CssClass="validation-msg"></asp:RegularExpressionValidator>
                                        <asp:RegularExpressionValidator ID="ClientBirthDateRegular" runat="server" ErrorMessage="Client birthdate is invalid"
                                            ControlToValidate="ClientBirthdateTextBox" ValidationExpression="^(((0?[1-9]|1[012])/(0?[1-9]|1\d|2[0-8])|(0?[13456789]|1[012])/(29|30)|(0?[13578]|1[02])/31)/(19|[2-9]\d)\d{2}|0?2/29/((19|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00)))$"
                                            Display="Dynamic" Visible="False" CssClass="validation-msg"></asp:RegularExpressionValidator>
                                        <asp:RegularExpressionValidator ID="ConsultantBirthDateRegular" runat="server" ErrorMessage="Consultant birthdate is invalid"
                                            ControlToValidate="ConsultantBirthdateTextBox" ValidationExpression="^(((0?[1-9]|1[012])/(0?[1-9]|1\d|2[0-8])|(0?[13456789]|1[012])/(29|30)|(0?[13578]|1[02])/31)/(19|[2-9]\d)\d{2}|0?2/29/((19|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00)))$"
                                            Display="Dynamic" Visible="False" CssClass="validation-msg"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                        IsActive:
                                    </th>
                                    <td class="value">
                                        <asp:Label ID="ActiveLabel" runat="server" Text="Label"></asp:Label>
                                    </td>
                                    <th valign="top">
                                        <span type="Contractor">Gender:</span> <span type="Client">Gender:</span> <span type="Consultant">
                                            Gender:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Contractor">
                                            <asp:RadioButtonList ID="ContractorGenderRadioList" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem>Male</asp:ListItem>
                                                <asp:ListItem>Female</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </span><span type="Client">
                                            <asp:RadioButtonList ID="ClientGenderRadioList" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem>Male</asp:ListItem>
                                                <asp:ListItem>Female</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </span><span type="Consultant">
                                            <asp:RadioButtonList ID="ConsultantGenderRadioList" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem>Male</asp:ListItem>
                                                <asp:ListItem>Female</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                    </th>
                                    <td class="value">
                                    </td>
                                    <th valign="top">
                                        <span type="Contractor">Telephone1:</span> <span type="Client">Address:</span> <span
                                            type="Consultant">Address:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Contractor">
                                            <asp:TextBox ID="ContractorTelephone1TextBox" title="<b>XXXX-XXX-XXX(X)</b>" CssClass="inp-form"
                                                runat="server" Text="Label"></asp:TextBox></span> <span type="Client">
                                                    <asp:TextBox TextMode="MultiLine" CssClass="form-textarea-small" ID="ClientAddressTextBox"
                                                        runat="server" Text="Label"></asp:TextBox></span> <span type="Consultant">
                                                            <asp:TextBox TextMode="MultiLine" CssClass="form-textarea-small" ID="ConsultantAddressTextBox"
                                                                runat="server" Text="Label"></asp:TextBox></span>
                                        <asp:RegularExpressionValidator ID="ContractorTelephone1Regular" runat="server" ControlToValidate="ContractorTelephone1TextBox"
                                            Display="Dynamic" ErrorMessage="Contractor telephone 1 is invalid" ValidationExpression="\d{4}\-\d{3}\-\d{3,4}"
                                            Visible="False" CssClass="validation-msg"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                    </th>
                                    <td class="value">
                                    </td>
                                    <th valign="top">
                                        <span type="Contractor">Telephone2:</span> <span type="Client">Title:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Contractor">
                                            <asp:TextBox ID="ContractorTelephone2TextBox" title="<b>XXXX-XXX-XXX(X)</b>" CssClass="inp-form"
                                                runat="server" Text="Label"></asp:TextBox></span> <span type="Client">
                                                    <asp:TextBox ID="ClientTitleTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <asp:RegularExpressionValidator ID="ContractorTelephone2Regular" runat="server" ControlToValidate="ContractorTelephone2TextBox"
                                            Display="Dynamic" ErrorMessage="Contractor telephone 2 is invalid" ValidationExpression="\d{4}\-\d{3}\-\d{3,4}"
                                            Visible="False" CssClass="validation-msg"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                    </th>
                                    <td class="value">
                                    </td>
                                    <th valign="top">
                                        <span type="Contractor">SortCode:</span> <span type="Client">VAT Number:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Contractor">
                                            <asp:TextBox ID="ContractorSortCodeTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <span type="Client">
                                            <asp:TextBox ID="ClientVatNumberTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                    </th>
                                    <td class="value">
                                    </td>
                                    <th valign="top">
                                        <span type="Contractor">Branch:</span> <span type="Client">Register Number:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Contractor">
                                            <asp:TextBox ID="ContractorBranchTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                        <span type="Client">
                                            <asp:TextBox ID="ClientRegisterNumberTextBox" CssClass="inp-form" runat="server"
                                                Text="Label"></asp:TextBox></span>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                    </th>
                                    <td class="value">
                                    </td>
                                    <th valign="top">
                                        <span type="Contractor">Email notify at:</span> <span type="Client">Email notify at:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Contractor">
                                            <asp:DropDownList ID="ContractorEmailNotifyDropDownList" runat="server" CssClass="styledselect_form_1">
                                                <asp:ListItem Value="2">Monday</asp:ListItem>
                                                <asp:ListItem Value="3">Tuesday</asp:ListItem>
                                                <asp:ListItem Value="4">Wednesday</asp:ListItem>
                                                <asp:ListItem Value="5">Thursday</asp:ListItem>
                                                <asp:ListItem Value="6">Friday</asp:ListItem>
                                                <asp:ListItem Value="7">Saturday</asp:ListItem>
                                                <asp:ListItem Value="8">Sunday</asp:ListItem>
                                                <asp:ListItem Value="0">Direct</asp:ListItem>
                                            </asp:DropDownList>
                                        </span><span type="Client">
                                            <asp:DropDownList ID="ClientEmailNotifyDropDownList" runat="server" CssClass="styledselect_form_1">
                                                <asp:ListItem Value="2">Monday</asp:ListItem>
                                                <asp:ListItem Value="3">Tuesday</asp:ListItem>
                                                <asp:ListItem Value="4">Wednesday</asp:ListItem>
                                                <asp:ListItem Value="5">Thursday</asp:ListItem>
                                                <asp:ListItem Value="6">Friday</asp:ListItem>
                                                <asp:ListItem Value="7">Saturday</asp:ListItem>
                                                <asp:ListItem Value="8">Sunday</asp:ListItem>
                                                <asp:ListItem Value="0">Direct</asp:ListItem>
                                            </asp:DropDownList>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <th valign="top">
                                    </th>
                                    <td class="value">
                                    </td>
                                    <th valign="top">
                                        <span type="Client">Post code:</span>
                                    </th>
                                    <td class="value">
                                        <span type="Client">
                                            <asp:TextBox ID="ClientPostcodeTextBox" CssClass="inp-form" runat="server" Text="Label"></asp:TextBox></span>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <div class="hrStyle">
                                            <hr />
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" style="text-align: left">
                                        <asp:Button ID="SaveButton" CssClass="form-save" runat="server" />
                                        <asp:Button ID="BackButton" CssClass="form-back" runat="server" CausesValidation="False" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <div class="clear">
                </div>
            </div>
            <!--  end content-table-inner  -->
        </td>
        <td id="tbl-border-right">
        </td>
    </tr>
    <tr>
        <th class="sized bottomleft">
        </th>
        <td id="tbl-border-bottom">
            &nbsp;
        </td>
        <th class="sized bottomright">
        </th>
    </tr>
</table>
<div class="clear">
    &nbsp;</div>
